<%@ page import="java.io.PrintWriter" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    request.setCharacterEncoding("utf-8");
    response.setContentType("text/html;charset=utf-8");
    PrintWriter o = response.getWriter();
    if (session.getAttribute("user")!=null){
        o.print("<script>window.location.href='home.jsp'</script>");
    }
%>
<html lang="en" class="no-js">
<head>
    <meta charset="utf-8">
    <title>个人书签后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- CSS -->
    <link rel="stylesheet" href="static/assets/css/reset.css">
    <link rel="stylesheet" href="static/assets/css/supersized.css">
    <link rel="stylesheet" href="static/assets/css/home.css">
</head>
<body>
<div class="page-container">
    <h1>个人书签后台登录</h1>
    <form action="home?method=login" method="post">
        <input type="text" name="username" class="username" placeholder="Username">
        <input type="password" name="password" class="password" placeholder="Password">
        <button type="submit">登录</button>
        <div class="error"><span>+</span></div>
    </form>
    <div class="connect">
        <p>作者：KK</p>
    </div>
</div>
<!-- Javascript -->
<script src="static/assets/js/jquery-1.8.2.min.js"></script>
<script src="static/assets/js/supersized.3.2.7.min.js"></script>
<script src="static/assets/js/supersized-init.js"></script>
<script src="static/assets/js/home.js"></script>
</body>
</html>

